package org.happy.tester.common.model;

/**
 * Description
 *
 * @author baijingchuan
 * Date 2020/6/9
 **/
public class PointcutDO {

    private String className;

    private String methodName;

    private String[] paramsTypeArray;

    @Override
    public String toString() {
        return "PointcutDO{" +
                "className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                ", paramsTypeArray=" + paramsTypeArray +
                '}';
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String[] getParamsTypeArray() {
        return paramsTypeArray;
    }

    public void setParamsTypeArray(String[] paramsTypeArray) {
        this.paramsTypeArray = paramsTypeArray.length == 1 && paramsTypeArray[0].equals("") ? null : paramsTypeArray;
    }
}
